#include "App.h"

void test2()
{
	Info* tmp = Info_Init();
	Info_PushBack(tmp, "guest", "18", "478989");
	Info_PushBack(tmp, "user", "20", "456789");
	Info_PushBack(tmp, "admin", "20", "123456");
	Info_Put(tmp);
}

void test()
{
	/*Node* x = Node_Init("Admin", "20", "123456");
	Print(x);*/
	/*FILE* pf = fopen("test", "w");
	fputs("admin\n", pf);
	fclose(pf);*/

	Info* tmp = Info_Init();
	//
	///*Info_Put(tmp);*/

	Info_Get(tmp);
	// Print(tmp);

	Find_Exact(tmp);
	// Print(tmp);
	
}


void testfile()
{
	FILE* pf = fopen("testfile.txt", "w");
	for (int i = 0; i < 1000000; ++i)
	{
		fputs("tmp;tmp;tmp;\n", pf);
	}
	fclose(pf);
}
int main()
{
	
	// testfile();
	test();
	//system("pause");
	return 0;
}
